package com.wuzihao.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuzihao.reggie.common.R;
import com.wuzihao.reggie.entity.Employee;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService extends IService<Employee> {

    R login(HttpServletRequest request, Employee employee);

    void saveEmployee(HttpServletRequest request, Employee employee);

    Page pageInfo(int page, int pageSize, String name);

    void updateStatus(HttpServletRequest request, Employee employee);
}
